package com.spbdx.studyspringboot.duty_chain.chain;

import com.spbdx.studyspringboot.duty_chain.entity.Product;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

/**
 * @Author: fan
 * @CreateTime 2025/1/1 21:40
 * @Description
 * @Version 1.0
 */
@Service
@Order(1)
public class ProductBaseInfoHandler extends IHandler<Product,Boolean>{

    @Override
    public Boolean handle(Product product) {

        // TODO 具体的业务逻辑
        System.out.println(1);

        return super.handle(product);

    }

}
